#include "serverconnector.h"
#include "serverconnection.h"

#include <iostream>

#define DEBUG

int main( int args , char** argv ) {
#ifdef DEBUG
	const char *debug_argv[] = { "client" , "127.0.0.1" , "8088" } ;
	ServerConnector connector( 3 , debug_argv ) ;
#else
	ServerConnector connector( args , argv ) ;
#endif
	ServerConnection connection = connector.build() ;
	connection.run() ;
	return 0 ;
}
